package cate.game.pvp.championrace.data;

import cate.game.play.proce.play.PlayPO;
import lombok.Data;
import lombok.ToString;

@ToString
@Data
public class ChampionRaceVideo {
    public static final String INDEX_NAME = "INDEX";

    private String uid;
    private boolean addedBoth;
    private ChampionRaceSpec spec;
    private PlayPO playPO;

    public static ChampionRaceVideo of(String uid, ChampionRaceSpec spec, PlayPO playPO, boolean addedBoth) {
        ChampionRaceVideo video = new ChampionRaceVideo();
        video.setUid(uid);
        video.setPlayPO(playPO);
        video.setSpec(spec);
        video.setAddedBoth(addedBoth);
        return video;
    }
}
